.editing :global(.ant-modal-body) {
  padding: 0;

  main {
    padding: 20px;
    section {
      align-items: flex-start;
      display: flex;
      padding: 12px 0;
      & > label {
        color: #777;
        flex-shrink: 0;
        font-size: 13px;
        margin-right: 6px;
        padding-top: 5px;
        text-align: right;
        width: 6.5em;
      }
      input {
        flex: 1;
      }
    }
  }

  footer {
    text-align: right;
    padding: 12px 16px;
    button {
      margin-left: 14px;
    }
  }
}

.icon {
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  height: 60px;
  justify-content: center;
  width: 60px;
  :global(.anticon) {
    color: #aaa;
    font-size: 40px;
  }
  &:hover {
    border: 1px solid #aaa;
    :global(.anticon) {
      color: #999;
    }
  }

  .refresh {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    display: none;
    height: 100%;
    justify-content: center;
    width: 100%;
    :global(.anticon) {
      color: #ddd;
    }
  }
  &:hover .refresh {
    display: flex;
  }

  input {
    display: none;
  }
}

.html {
  & > div {
    flex: 1;
  }
  & > label {
    padding-top: 0 !important;
  }
  .tips {
    margin-top: 6px;
    font-size: 12px;
    color: #aaa;
  }
}
.ace-editor-wrap > div {
  border: 1px solid #eee;
  height: 300px;
  width: 100%;
}

.required {
  color: red;
}
